<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="../css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="../css/ui-box.css">
        <link rel="stylesheet" href="../css/ui-base.css">
        <link rel="stylesheet" href="../css/ui-color.css">
        <link rel="stylesheet" href="../css/appcan.icon.css">
        <link rel="stylesheet" href="../css/appcan.control.css">
        <link rel="stylesheet" href="grxx_drawer/css/main.css">
        <style>
            .drawer {
                margin-right: 4em;
            }
            .shadow {
                -webkit-box-shadow: inset -4px 1px 3px rgba(0, 0, 0, .2);
                box-shadow: inset -4px 1px 3px rgba(0, 0, 0, .2)
            }
        </style>
    </head>
    <body class="um-vp ">
        <div id="page_0" class="up ub ub-ver bc-bg uhide" tabindex="0" >
            <div id="header" class="uh sc-bg-active">

            </div>
            <div id="content" class="ub-f1 tx-l shadow drawer  ">
                <div id="listview" class="">

                </div>
            </div>
        </div>
        <script src="../js/appcan.js"></script>
        <script src="../js/appcan.control.js"></script>
        <script src="../js/appcan.listview.js"></script>
        <script src="../js/my.js"></script>
    </body>
    <script>
        appcan.ready(function() {
            appcan.window.open("grxx", "grxx.html", 10, 256);
            appcan.window.subscribe("main_window_open", function() {
                setTimeout(function() {
                    $("#page_0").removeClass("uhide");
                }, 1000);
            })
            appcan.window.subscribe("draw_close", function() {
                appcan.window.close(-1);
            });
        });
        
        
        var lv = appcan.listview({
            selector : "#listview",
            type : "thinLine",
            hasIcon : true,
            hasAngle : false,
            hasSubTitle : true,
            multiLine : 1,
        });
        
        lv.set([{
            title : "学生基本信息查询",
            icon : "grxx/css/myImg/xinwen.png",
            
             id : "1"
        }, {
            title : "完善基本信息",
            icon : "grxx/css/myImg/dingyue.png",
            
             id : "2"
        }, {
            title : "上传证件审核",
            icon : "grxx/css/myImg/bendi.png",
            
             id : "3"
        }, {
            title : "确认代购物品",
            icon : "grxx/css/myImg/tupian.png",
            
             id : "4"
        }, {
            title : "缴费明细",
            icon : "grxx/css/myImg/gentie.png",
            
             id : "5"
        }, {
            title : "我的寝室",
            icon : "grxx/css/myImg/huati.png",
            
             id : "6"
        }]);
        //点击事件
        lv.on("click", function(ele, context, obj, subobj) {
           
            if (context.id == 1) {
                // alert('hahahah');
                uexWindow.evaluateScript("root", "0", "openWinInMainWithSlidingOne()");
            } else if (context.id == 2) {
                uexWindow.evaluateScript("root", "0", "openWinInMainWithSlidingTwo()");
            } else if (context.id == 3) {
                uexWindow.evaluateScript("root", "0", "openWinInMainWithSlidingThree()");
            } else if (context.id == 4) {
                uexWindow.evaluateScript("root", "0", "openWinInMainWithSlidingFour()");
            } else if (context.id == 5) {
                uexWindow.evaluateScript("root", "0", "openWinInMainWithSlidingFive()");
            } else if (context.id == 6) {
                uexWindow.evaluateScript("root", "0", "openWinInMainWithSlidingSix()");
            } 

        })
        
        //点击学生基本信息查询
        function openWinInMainWithSlidingOne(){
            uexWindow.open('dd', '0', 'jbxx.html', 1, '', '', 0, 500);
        }
        //点击完善基本信息
        function openWinInMainWithSlidingTwo(){
            uexWindow.open('dd', '0', 'wsxx.html',1,'','',0,500);
        }
        //点击上传证件审核
        function openWinInMainWithSlidingThree(){
            uexWindow.open('dd', '0', 'sczj.html',1,'','',0,500);
        }
        //点击确认代购物品
        function openWinInMainWithSlidingFour(){
            uexWindow.open('dd', '0', 'dgwp.html',1,'','',0,500);
        }
        //点击缴费明细
        function openWinInMainWithSlidingFive(){
            uexWindow.open('dd', '0', 'jfmx.html',1,'','',0,500);
        } 
        //点击我的寝室
        function openWinInMainWithSlidingSix(){
            uexWindow.open('dd', '0', 'wdqs.html',1,'','',0,500);
        }

     
    </script>
</html>